<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.pic img {
				width: 500px;
				height: 300px;
				float: left;
			}

			.pic {
				width: 1500px;
				animation: my 10s infinite;
			}

			.banner {
				width: 500px;
				overflow: hidden;
			}
			@keyframes my{
				/* from{
					margin: 0;
				}
				to{
					margin-left: -1000px;
				} */
				0%{
					margin: 0;
				}
				50%{
					margin-left: -500px;
				}
				100%{
					margin-left: -1000px;
				}
			}
		</style>
	</head>
	<body>
		<div class="banner">
			<div class="pic">
				<img src="img/timg.jpg">
				<img src="img/timg.jpg">
				<img src="img/timg.jpg">
			</div>
		</div>
	</body>
</html>
